import request from "@/utils/http/api";
export const equipmentPage = (params:any) => {
    return request({
        method: 'post',
        url: '/api/basedata/equipmentResource/getPage',
        data: params
    })
}

export const equipmentAdd = (params:any) => {
    return request({
        method: 'post',
        url: '/api/basedata/equipmentResource/save',
        data: params
    })
}


export const equipmentUpdate = (params:any) => {
    return request({
        method: 'put',
        url: '/api/basedata/equipmentResource/update',
        data: params
    })
}



export const equipmentDel= (params:any) => {
    return request({
        method: 'delete',
        url: '/api/basedata/equipmentResource/delete',
        data: params
    })
}

